<template>
	<div>
		<div style="height:1rem;"></div>
		<div class="aui-row top_div order_class">
			<div id="call_server" class="aui-col-xs-4" @click="$router.push('/main/callserver')">
				<i class="icon njfont nj-dianhua"></i>
				<div class="aui-grid-label">电话客服</div>
				<div class="right_line"></div>
			</div>
			<div id="feedback" class="aui-col-xs-4" @click="$router.push('/main/feedback')">
				<i class="icon njfont nj-bianji"></i>
				<div class="aui-grid-label">意见反馈</div>
				<div class="right_line"></div>
			</div>
			<div id="onli" class="aui-col-xs-4" @click=" $router.push({path: login?'aftersalelist':'login' })">
				<i class="icon njfont nj-daipingjia"></i>
				<div class="aui-grid-label">售后服务</div>
			</div>
		</div>
	</div>
</template>

<script>
	import {mapMutations, mapActions, mapGetters} from "vuex";
	 export default {
        props: {
         	turn : {
         		type:Function,
         		default:() => {console.log(1)},
         	}
        },
        data () {
            return {
                pageTree: []
            }
        },
        computed: {
          ...mapGetters('wxh', [
            'sessionId',
            'userInfo',
            'login'
          ])
        },
        methods: {
        },
        created(){
          this.$store.dispatch('cjy/getOrderCount')
        	// console.log(this.turn)
        }
    }
</script>

<style scoped="scoped">

</style>
